﻿using Xejen.Communication.Configuration;
using Xejen.Hosting;
using Xejen.Logger;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Text;

namespace Xejen.Communication
{
    /// <summary>
    /// 表示通讯构造器
    /// </summary>
    /// <typeparam name="TCommunicatorBuilder"></typeparam>
    /// <creator>marc</creator>
    public interface ICommunicatorBuilder<TCommunicatorBuilder>
        where TCommunicatorBuilder : class, ICommunicatorBuilder<TCommunicatorBuilder>
    {
        /// <inheritdoc cref="IAppHost"/>
        IAppHost Host { get; }
        /// <inheritdoc cref="ILoggerManager"/>
        ILoggerManager LoggerManager { get; }
    }
}
